<extend name="Public/base" />
<block name="body">
    <!--PageContent-->
    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">Tables</h1>
            </div>
            <!-- /.col-lg-12 -->
        </div>
        <div class="row">
           <div class="col-md-12">
    <!--formBlock-->
                <div class="panel panel-default">
                    <div class="panel-heading">
                        Basic Form Elements
                    </div>
                    <!-- /.panel-heading -->
                    <div class="panel-body">

                        <div class="row">
                            <div class="col-lg-8">
                                <form action="" method="post" accept-charset="utf-8" role="form">
                                    <!--textInput-->
                                    <div class="form-group">
                                        <label>用户名</label>
                                        <input class="form-control" name="username" value="{$row['username']||default=''}" placeholder="Enter text">
                                    </div>
                                    <!--textInput-->
                                    <div class="form-group">
                                        <label>密码</label>
                                        <input type="password" class="form-control" name="userpwd" value="{$row['userpwd']||default=''}" placeholder="Enter text">
                                    </div>
                                    <div class="form-group">
                                        <label>重复密码</label>
                                        <input type="password" class="form-control" name="re_userpwd" value="{$row['userpwd']||default=''}" placeholder="Enter text">
                                    </div>
                                    <div class="form-group">
                                        <label>用户类型</label>
                                        <label class="radio-inline">
                                            <input type="radio" name="type" value="0" <if condition=" isset($row['type']) AND ($row.type eq 0) ">checked</if> >普通用户
                                        </label>
                                        <label class="radio-inline">
                                            <input type="radio" name="type"  value="1" <if condition=" isset($row['type']) AND ($row.type eq 1) ">checked</if> > 系统管理员 
                                        </label>
                                        <label class="radio-inline">
                                            <input type="radio" name="type"  value="2" <if condition=" isset($row['type']) AND ($row.type eq 2) ">checked</if> > 编辑
                                        </label>
                                    </div>
                                   
                                    <input type="hidden" name="id" value="{$row.id|default=''}"/>  
                                    <!--/formBlock-divider-->

                                    <button type="submit" class="btn btn-default">提交</button>
                                    <button type="reset" class="btn btn-default">重置</button>
                                </form>
                            </div>
                        </div>

                    </div>
                </div>
                <!--/PageContent-divider-->
           </div> 
        </div>

    </div> 
    
</block>

<block name="script">
</block>